<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Coding Life</title>
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
  <meta name="description" content="Description">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0">
  <link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify@4/lib/themes/vue.css">
</head>
<body>
  <div id="app"></div>
  <script>
    window.$docsify = {
      name: '<span>首页</span>',
      repo: '',
      coverpage: true, // 开启首页
      loadNavbar: true, // 开启导航栏
      loadSidebar: true, // 显示侧边栏
      subMaxLevel: 2, // 
      count:{  // 字数统计
        countable:true,
        fontsize:'0.9em',
        color:'rgb(90,90,90)',
        language:'chinese'
      },
      copyCode: { // 复制剪贴板
        buttonText : 'Copy to clipboard',
        errorText  : 'Error',
        successText: 'Copied'
      },

      search: 'auto', // 默认值
      
      search : [
        '/',                              // => /README.md
        '/resource/docs/TODO',            // => /resource/docs/TODO.md
        '/resource/docs/PdfDocs',         // => /resource/docs/PdfDocs.md
        '/resource/docs/Life',            // => /resource/docs/Life.md
        '/resource/docs/PoemsAndDreams',  // => /resource/docs/PoemsAndDreams.md
        '/resource/docs/DocsifyDemo',     // => /resource/docs/DocsifyDemo.md
      ],

      // 完整配置参数
      search: {
        maxAge: 86400000, // 过期时间，单位毫秒，默认一天
        paths: [], // or 'auto'
        placeholder: 'Type to search',

        // 支持本地化
        //placeholder: {
        //  '/resource/docs/': '搜索',
        //  '/': 'Type to search'
       // },

         noData: 'No Results!',

        // 支持本地化
        //noData: {
        //  '/resource/docs/': '找不到结果',
        //  '/': 'No Results'
        //},

        // 搜索标题的最大层级, 1 - 6
        depth: 6,

        hideOtherSidebarContent: false, // 是否隐藏其他侧边栏内容

        // 避免搜索索引冲突
        // 同一域下的多个网站之间
        namespace: 'website-1',

        // 使用不同的索引作为路径前缀（namespaces）
        // 注意：仅适用于 paths: 'auto' 模式
        //
        // 初始化索引时，我们从侧边栏查找第一个路径
        // 如果它与列表中的前缀匹配，我们将切换到相应的索引
        pathNamespaces: ['/resource/docs'],

        // 您可以提供一个正则表达式来匹配前缀。在这种情况下，
        // 匹配到的字符串将被用来识别索引
        pathNamespaces: /^(\/(zh-cn|ru-ru))?(\/(v1|v2))?/
      }
    }

  </script>
  <!-- Docsify v4 -->
  <script src="//cdn.jsdelivr.net/npm/docsify@4"></script>

  <!-- pdf support  -->
  <!-- PDFObject.js is a required dependency of this plugin -->
  <!-- <script src="//cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js"></script>  -->
  <!-- This is the source code of the pdf embed plugin -->
  <!-- <script src="path-to-file/docsify-pdf-embed.js"></script> -->
  <!-- or use this if you are not hosting the file yourself -->
  <!-- <script src="//unpkg.com/docsify-pdf-embed-plugin/src/docsify-pdf-embed.js"></script> -->

  <!-- zoom image  support -->
  <!-- <script src="//cdn.jsdelivr.net/npm/docsify/lib/plugins/zoom-image.min.js"></script> -->

  <!-- 字数统计  support -->
  <script src="//unpkg.com/docsify-count/dist/countable.js"></script>

  <!-- 字数统计  support -->
  <script src="https://unpkg.com/docsify-copy-code@2"></script>

  <!-- 语法高亮 support -->
  <script src="//cdn.jsdelivr.net/npm/prismjs@1/components/prism-java.min.js"></script>
  <script src="//cdn.jsdelivr.net/npm/prismjs@1/components/prism-sql.min.js"></script>
  <script src="//cdn.jsdelivr.net/npm/prismjs@1/components/prism-json.min.js "></script>
  <script src="//cdn.jsdelivr.net/npm/prismjs@1/components/prism-yaml.min.js"></script>
  <script src="//cdn.jsdelivr.net/npm/prismjs@1/components/prism-bash.min.js"></script>
  <script src="//cdn.jsdelivr.net/npm/prismjs@1/components/prism-nginx.min.js"></script>
  <script src="//cdn.jsdelivr.net/npm/prismjs@1/components/prism-markdown.min.js"></script>

  <!-- 全文搜索 support -->
  <script src="//cdn.jsdelivr.net/npm/docsify/lib/plugins/search.min.js"></script>
  <script src="//polyfill.io/v3/polyfill.min.js?features=String.prototype.normalize"></script>




</body>
</html>
